]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
focusCaretTracker: Lower AT-SPI's timeout values
authorMike Gorse <mgorse@suse.com>
Thu, 19 Sep 2013 17:12:49 +0000 (12:12 -0500)
committerMike Gorse <mgorse@suse.com>
Sat, 21 Sep 2013 09:51:42 +0000 (04:51 -0500)
Have AT-SPI calls time out after 250ms, to mitigate the effect of a
deadlock when querying another application that is trying to query
gnome-shell.

https://bugzilla.gnome.org/show_bug.cgi?id=708387

js/ui/focusCaretTracker.js

index 4e18e6570efa035e592867bd82f7eebeb596fdb5..5af8d37dbb99a02bdcedcf17fac46562700b9410 100644 (file)
@@ -33,6 +33,7 @@ const FocusCaretTracker = new Lang.Class({
 
     _init: function() {
         Atspi.init();
+        Atspi.set_timeout(250, 250);
         this._atspiListener = Atspi.EventListener.new(Lang.bind(this, this._onChanged));
     },